package aiowang.springframe.config;

import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;
import org.springframework.context.annotation.Import;

/**
 * @author aiowang
 * @description:
 * @date 2021/8/13 23:53
 */
@Configuration
@Import(MyConfig2.class)  //导入合并其他配置类，类似于配置文件中的 inculde 标签
public class MyConfig3 {

    @Bean
    public Dog dog(){
        return new Dog();
    }

}
